package com.lvy.hczn.front.system.domain.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lvy.hczn.front.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * wcs报警记录，记录相关状态码，翻译成中文
 *
 * @author yw
 * @date 2022-03-24 11:24:40
 **/
@Data
@TableName("alarm_record")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "wcs报警记录")
public class AlarmRecord extends BaseModel<AlarmRecord> {

    @ApiModelProperty(value = "状态码")
    private String code;

    @ApiModelProperty(value = "类型:1:硬件报警,2:wms,wcs交互流程报警")
    private Integer type;

    @ApiModelProperty(value = "货箱编号")
    private String boxCode;

    @ApiModelProperty(value = "入库称重后的实际重量")
    private BigDecimal actualWeight;

    @ApiModelProperty(value = "分拣完成，系统计算的重量")
    private BigDecimal systemWeight;

    @ApiModelProperty(value = "流程编号")
    private Integer processState;
}
